import styled from "styled-components";

export const LevelWrap = styled.div`
  margin: 0 auto;
  width: 980px;
  padding: 70px 68px;
  background-color: #fff;
  .now_level {
    position: relative;
    z-index: 1;
    zoom: 1;
    height: 32px;
    line-height: 32px;
    color: #333;
    font-size: 22px;
    margin-bottom: 4px;
    font-family: "Microsoft YaHei";
    h3 {
      position: relative;
      .ls {
        position: relative;
        z-index: 1;
        zoom: 1;
        height: 32px;
        line-height: 32px;
        margin-left: 30px;
        zoom: 1;
        font-family: Arial;
        font-size: 24px;
        font-weight: 700;
        color: #e03a24;
        font-style: italic;
      }
      i {
        position: absolute;
        left: -30px;
        top: 0;
        z-index: 1;
        width: 30px;
        height: 30px;
        background-position: left 5px;
      }
    }
  }
  @keyframes Color {
    from {
      width: 0%;
    }
    to {
      width: ${(props) => props.progress + "%"};
    }
  }
  .level_progress {
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 31px;
    /* overflow: hidden; */
    .level_num {
      height: 28px;
      /* background-color:green; */
    }
    .level_pro {
      position: relative;
      height: 10px;
      border-radius: 30px;
      background-color: #dcdfe6;
      .level_proing {
        position: absolute;
        height: 10px;
        left: 0;
        top: 0;
        border-radius: 30px;
        animation-name: Color;
        animation-duration: 6s;
        background-image: linear-gradient(to right, #fea68f, red);
        animation-fill-mode: forwards;
      }
      .level_i {
        height: 10px;
        position: absolute;
        width: 100%;
        p {
          position: relative;
          float: left;
          height: 10px;
          width: ${(props) => props.num + "%"};
          text-align: right;
          z-index: 9999;
          :nth-child(1) {
            ::before {
              display: block;
              content: "";
              background: none;
            }
          }
          :last-child {
            .onec {
              right: 0;
            }
          }
          .zero {
            position: absolute;
            left: 0;
            top: -28px;
            display: inline-block;
            color: #ed5757;
            font-size: 18px;
          }
          .onec {
            right: -5px;
            top: -28px;
            position: absolute;
            display: inline-block;
            color: #ed5757;
            font-size: 18px;
          }
          .selectL {
            right: -14px;
            top: -28px;
            position: absolute;
            display: inline-block;
            color: #fff;
            font-size: 18px;
            width: 25px;
            height: 28px;
            text-align: center;
            background: url(${require("@/assets/img/mylevel.png").default})
              no-repeat 0 9999px;
            background-position: 0 -50px;
          }
          ::before {
            display: block;
            content: "";
            width: 1px;
            height: 10px;
            background: #fff;
          }
        }
      }
    }
  }
  .levelSay {
    color: #999;
    line-height: 32px;
  }
  .levelVip {
    margin-top: 42px;
    span {
      display: inline-block;
      height: 32px;
      line-height: 32px;
      color: #333;
      font-size: 23px;
      margin-bottom: 10px;
      font-family: "Microsoft YaHei";
    }
    ul {
      li {
        height: 30px;
        line-height: 30px;
        color: #666;
        padding-left: 13px;
        background-position: -17px -82px;
        font-size: 14px;
      }
    }
    .aboutmore {
      display: inline-block;
      color: #0e73ba;
      margin-top: 28px;
      padding-left: 4px;
      margin-bottom: 26px;
      height: 20px;
      line-height: 20px;
    }
  }
  .linex {
    width: 100%;
    border: 0.25px solid #ddd;
    margin-bottom: 36px;
  }
  .nextLevel {
    h3 {
      position: relative;
      margin-bottom: 20px;
      .ls {
        position: relative;
        z-index: 1;
        zoom: 1;
        height: 32px;
        line-height: 32px;
        margin-left: 30px;
        zoom: 1;
        font-family: Arial;
        font-size: 24px;
        font-weight: 700;
        color: #e03a24;
        font-style: italic;
      }
      i {
        position: absolute;
        left: -30px;
        top: 0;
        z-index: 1;
        width: 30px;
        height: 30px;
        background-position: left 5px;
      }
    }
  }
  .uitl {
    margin-bottom: 20px;
    .tie {
    }
    .tProgress {
      width: 160px;
      height: 4px;
      display: inline-block;
      margin-right: 6px;
      background: #dcdfe6;
      border-radius: 4px;
      position: relative;
      zoom: 1;
      .pring {
        display: block;
        position: absolute;
        border-radius: 4px;
        top: 0;
        left: 0;
        background: #f75757;
        z-index: 999;
        height: 4px;
      }
    }
  }
`;
